package com.guoq.service;

import java.util.List;

import com.guoq.pojo.EUDataGridResult;
import com.guoq.pojo.OrderItem;
import com.guoq.pojo.OrderItemExample;
import com.guoq.pojo.Result;

/**
 * 
 * <P>类名称:IOrderItemService
 * <P>类描述: 订单商品service接口类 
 * <P>创建人:郭强  
 * <P>修改人:XXX 
 * <P>修改时间:2017年7月19日 上午11:10:07
 * <P>修改备注: 
 * @version 1.0.0
 * Copyright(c)2017西部在线-版权所有
 */
public interface IOrderItemService {
	
	public OrderItem getById(int userId);
	public List<OrderItem> getListByOrderid(String order_id);
	public List<OrderItem> getListByItemid(String item_id);
	public EUDataGridResult getPageListByOrderid(Integer page, Integer rows, String order_id);
	public EUDataGridResult getPageListByItemid(Integer page, Integer rows, String item_id);
	public List<OrderItem> selectByExample(OrderItemExample example);
	public OrderItem selectByPrimaryKey(Integer id);
	public int countByExample(OrderItemExample example);
	
	public Result create(OrderItem bean) throws Exception;
	public Result update(OrderItem bean) throws Exception;
	public Result delete(OrderItem bean) throws Exception;
	
}
